package com.buhler.iot.entity;

import com.xxdb.data.BasicTable;

/**
 * tableInsert脚本信息
 * 包含  table: 要插入的数据
 *      script： 要执行的脚本 String.format("tableInsert{loadTable('%s','%s')}",databaseName,tableName) ===> tableInsert{loadTable('dfs://xxx','xxx')}
 *      tableName 补充说明每个脚本要插入数据的分布式表名称
 */
public class ScriptEntity {
    private BasicTable table;
    private String script;
    private String tableName;

    public void setTable(BasicTable table) {
        this.table = table;
    }
    public BasicTable getTable() {
        return table;
    }


    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }


    public String getScript() {
        return script;
    }

    public void setScript(String script) {
        this.script = script;
    }
}
